-- GENERATED SPELL FOR [Servant of Freya] --


function spell0_29036(pUnit, Event) --@Flower Power,Self--
pUnit:FullCastSpellOnTarget(55067,pUnit)
pUnit:RegisterEvent('Sorts_29036', 30259, 1)
end

function Sorts_29036(pUnit, Event)
local choix_sorts_29036 = math.random(0, 0)
if choix_sorts_29036 == 0 then
pUnit:RegisterEvent('spell0_29036', 1, 1)
end
end

function mob29036_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29036', math.random(1500, 3000), 1)
end

function mob29036_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29036_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29036_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29036, 1, 'mob29036_Action')
RegisterUnitEvent(29036, 2, 'mob29036_Leave')
RegisterUnitEvent(29036, 3, 'mob29036_Kill')
RegisterUnitEvent(29036, 4, 'mob29036_Die')
